package com.lj.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lj.system.mapper.SysLoginInfoMapper;
import com.lj.system.model.SysLoginInfo;
import com.lj.system.service.ISysLoginInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 系统访问记录 服务实现类
 * </p>
 *
 * @author 小李飞刀
 */
@Service
public class SysLoginInfoServiceImpl extends ServiceImpl<SysLoginInfoMapper, SysLoginInfo> implements ISysLoginInfoService {

    @Resource
    private SysLoginInfoMapper sysLogininforMapper;

    /**
     * 清除登录信息日志
     */
    @Override
    public void cleanLoginInfo() {
        sysLogininforMapper.cleanLoginInfo();
    }

}
